package com.yami.shop.bean.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 链平台店铺关联信息DTO
 *
 * @author FrozenWatermelon
 * @date 2021-05-08 13:31:45
 */
@Data
public class BlockchainShopDTO {

    @Schema(description = "主键id")
    private Long blockchainShopId;

    @Schema(description = "店铺id")
    private Long shopId;

    @Schema(description = "链平台id")
    private Long blockchainId;

    @Schema(description = "扣率: 能量充值折扣（1代表1%）")
    private Double discount;

    @Schema(description = "排序")
    private Integer seq;

    @Schema(description = "logo")
    private String imgUrl;

    @Schema(description = "链平台名称")
    private String name;

    @Schema(description = "链平台描述")
    private String desc;

    @Schema(description = "链平台状态")
    private Integer blockchainStatus;

    @Schema(description = "链平台编码")
    private String blockchainCode;

    @Schema(description = "店铺编码")
    private String shopCode;

    @Schema(description = "链平台签约状态")
    private Integer blockchainShopStatus;

    @Schema(description = "开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;

    @Schema(description = "结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    @Schema(description = "店铺名称")
    private String shopName;

    @Schema(description = "店铺简介")
    private String intro;

    @Schema(description = "审核原因")
    private String auditReason;

}
